package com.zjitc.po;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/26 14:05
 * @description:
 */
public class Country {

  private String code;
  private String name;
  private String region;
  private Float surfaceArea;
  private Integer indepYear;
  private Integer population;
  private Float lifeExpectancy;
  private Float gnp;
  private String headOfState;
  private Integer captial;
  private String code2;

  public Country() {
  }

  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getRegion() {
    return region;
  }

  public void setRegion(String region) {
    this.region = region;
  }

  public Float getSurfaceArea() {
    return surfaceArea;
  }

  public void setSurfaceArea(Float surfaceArea) {
    this.surfaceArea = surfaceArea;
  }

  public Integer getIndepYear() {
    return indepYear;
  }

  public void setIndepYear(Integer indepYear) {
    this.indepYear = indepYear;
  }

  public Integer getPopulation() {
    return population;
  }

  public void setPopulation(Integer population) {
    this.population = population;
  }

  public Float getLifeExpectancy() {
    return lifeExpectancy;
  }

  public void setLifeExpectancy(Float lifeExpectancy) {
    this.lifeExpectancy = lifeExpectancy;
  }

  public Float getGnp() {
    return gnp;
  }

  public void setGnp(Float gnp) {
    this.gnp = gnp;
  }

  public String getHeadOfState() {
    return headOfState;
  }

  public void setHeadOfState(String headOfState) {
    this.headOfState = headOfState;
  }

  public Integer getCaptial() {
    return captial;
  }

  public void setCaptial(Integer captial) {
    this.captial = captial;
  }

  public String getCode2() {
    return code2;
  }

  public void setCode2(String code2) {
    this.code2 = code2;
  }

  @Override
  public String toString() {
    return "" + code +
        ",\t\t" + name +
        ",\t\t" + region +
        ",\t\t" + surfaceArea +
        ",\t\t" + indepYear +
        ",\t\t" + population +
        ",\t\t" + lifeExpectancy +
        ",\t\t" + gnp +
        ",\t\t" + headOfState +
        ",\t\t" + captial +
        ",\t\t" + code2;
  }
}
